// 代理环境
// 配置信息
module.exports = {
    publicPath: '/adopt_app/',
    //   outputDir: 'switch-config',
    lintOnSave: false,
    runtimeCompiler: true,
    productionSourceMap: false,
    chainWebpack: () => {},
    configureWebpack: () => {},

    parallel: require('os').cpus().length > 1,
    pwa: {},
    css: {
        loaderOptions: {}
    },
    devServer: {
        open: false,
        disableHostCheck: false,
        host: '0.0.0.0',
        port: 8080,
        https: false,
        hotOnly: false,
        compress: true,
        proxy: {
            '/adopt': {
                target:'http://localhost:3000/',
                changeOrigin: true
            }
        }
    }
}
